﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleModeler.Graphics;

namespace SimpleModeler.GUI.ModelerEventArgs
{
    /// <summary>
    /// Repräsentiert ein Add-Command
    /// </summary>
    public class AddEventArgs : ModelerManipulationEventArgs
    {
        /// <summary>
        /// Typ des neu hinzuzufügenden Objektes
        /// </summary>
        public Type Type { get; set; }
        
        /// <summary>
        /// Konstruktor
        /// </summary>
        /// <param name="sender">Sender des Events</param>
        /// <param name="type">Typ des neu hinzuzufügenden Objektes</param>
        public AddEventArgs(object sender, Type type) : base(sender) { this.Type = type; }
    }
}
